package com.ruoyi.supermarket.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的店铺对象 shop
 * 
 * @author liqiwei
 * @date 2023-10-03
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String uscc;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String name;

    /** 店铺logo */
    @Excel(name = "店铺logo")
    private String logo;

    /** 店铺大图 */
    @Excel(name = "店铺大图")
    private String bigPic;

    /** 店铺状态 */
    @Excel(name = "店铺状态")
    private Integer shopStatus;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long productCount;

    /** 产品评论数量 */
    @Excel(name = "产品评论数量")
    private Long productCommentCount;

    /** 介绍 */
    @Excel(name = "介绍")
    private String intro;

    /** 所属地 */
    @Excel(name = "所属地")
    private String location;

    /** 开业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 用户主键 */
    @Excel(name = "用户主键")
    private Long userId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUscc(String uscc) 
    {
        this.uscc = uscc;
    }

    public String getUscc() 
    {
        return uscc;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setBigPic(String bigPic) 
    {
        this.bigPic = bigPic;
    }

    public String getBigPic() 
    {
        return bigPic;
    }
    public void setShopStatus(Integer shopStatus)
    {
        this.shopStatus = shopStatus;
    }

    public Integer getShopStatus()
    {
        return shopStatus;
    }
    public void setProductCount(Long productCount) 
    {
        this.productCount = productCount;
    }

    public Long getProductCount() 
    {
        return productCount;
    }
    public void setProductCommentCount(Long productCommentCount) 
    {
        this.productCommentCount = productCommentCount;
    }

    public Long getProductCommentCount() 
    {
        return productCommentCount;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uscc", getUscc())
            .append("name", getName())
            .append("logo", getLogo())
            .append("bigPic", getBigPic())
            .append("shopStatus", getShopStatus())
            .append("productCount", getProductCount())
            .append("productCommentCount", getProductCommentCount())
            .append("intro", getIntro())
            .append("location", getLocation())
            .append("startTime", getStartTime())
            .append("userId", getUserId())
            .append("sort", getSort())
            .toString();
    }
}
